Eventin\Event\Api\TransactionController S

Total Complexity 33
Dependencies 4
Dependents 0
Total lines 363
Lines of code 202
Logical lines of code 79
Comment lines 101
Methods 15
Properties 0

Methods 15

Method Rating Maintainability Complexity Lines of code
prepare_item_for_database()
S
53 6 25
get_items()
S
58 5 13
update_item()
S
55 4 20
register_routes()
S
44 1 56
delete_item()
S
52 3 25
create_item()
S
58 3 15
delete_items()
S
63 3 10
__construct()
S
77 1 4
get_item_permissions_check()
S
80 1 3
get_item()
S
62 1 10
create_item_permissions_check()
S
80 1 3
update_item_permissions_check()
S
80 1 3
delete_item_permissions_check()
S
80 1 3
get_item_schema()
S
91 1 2
prepare_item_for_response()
S
64 1 10